/*
 * BarriersGetterVisitor.cpp
 *
 *  Created on: 08-01-2011
 *      Author: Przemek
 */

#include "world/visitors/BarriersGetterVisitor.hpp"
using std::vector;

void BarriersGetterVisitor::visit(Individual&)
{

}

void BarriersGetterVisitor::visit(Barrier& barrier)
{
	barriers.push_back(&barrier);
}

void BarriersGetterVisitor::visit(MeatSupply&)
{

}

void BarriersGetterVisitor::visit(VegetableSupply&)
{

}

void BarriersGetterVisitor::visit(WaterSupply&)
{

}

vector<Barrier*> BarriersGetterVisitor::getVector()
{
	return barriers;
}
